<template>
  <div class="">
    <a
      class="openSide"
      @click="changeSide"
      :title="isCollapse ? '展开' : '收缩'"
    >
      <el-icon>
        <Expand v-if="isCollapse" />
        <Fold v-else />
      </el-icon>
    </a>
  </div>
</template>

<script setup>

defineProps({
  isCollapse: Boolean,
  changeSide: Function
})
</script>
<style lang="less" scoped>
@import "./index.less";
</style>